<?php
class MException extends Exception{
        private $msg    = "";
        public function __construct($msg){
            $this -> msg    = $msg;
        }
        public function getMsg(){
            echo $this -> msg;
            die;
        }
	}
?>
